<script setup lang="ts">
const { params } = useRoute()
const { data: detail } = await useFetch(`/api/video/${params.id}`)
console.log('视频详情',detail)
</script>

<template>
  <!--头部组件-->
  <AppHeader></AppHeader>
  <h2>视频页面 {{$route.params.id}}</h2>
  <van-button>按钮</van-button>
</template>

<style lang="scss" scoped>
  
</style>
